<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        h3 {
            color: orange;
            font-weight: normal;
            text-align: center;
        }
        
        .input-group {
            /* 上外边距 */
            margin-top: 10px;
            /* 下外边距 */
            margin-bottom: 10px;
        }
        /* 属性选择器+群组选择器 */
        /* .input-group input[type=text],
        .input-group input[type=password],
        .input-group input[type=tel] {
            height: 30px;
            width: 275px
        } */
        /* 属性选择器排除input */
        
        .input-group input[type~=checkbox] {
            height: 30px;
            width: 275px
        }
        
        .input-group input {
            height: 30px;
            width: 275px
        }
        
        .input-group .label {
            display: inline-block;
            width: 100px;
            font-size: 1.2em;
            /* 设置位置两端对齐 */
            text-align: justify;
            text-align-last: justify
        }
        
        .input-group img {
            /* 设置图片与inline-block的对齐方式 */
            vertical-align: middle;
        }
        
        #yzm {
            height: 36px;
        }
        
        #code {
            width: 155px;
            margin-right: 24px;
        }
        
        form {
            width: 380px;
            border-top: 1px dotted orange;
        }
        
        .container {
            width: 400px;
            /* 水平居中 */
            margin: 0 auto;
        }
        
        .regist {
            width: 100%;
            height: 36px;
            background-color: orange;
            /* 取消按钮的边框 */
            border: none;
            color: white;
            font-size: 1.2em;
        }
        
        .input-group input {
            font-size: 1.2em;
        }
    </style>
</head>

<body>
    <div class="container">
        <h3>加入陆金所，韭菜割不停</h3>
        <form action="">
            <div class="input-group">
                <label class="label" for="username">用户名：</label><input type="text" id="username" name="usr">
            </div>
            <div class="input-group">
                <label class="label" for="password">登录密码：</label><input type="password" id="password" name="pwd">
            </div>
            <div class="input-group">
                <label class="label" for="telephone">手机号：</label><input type="tel" id="telephone" name="tel">
            </div>
            <div class="input-group yzm">
                <label class="label" for="code">验证码：</label><input type="text" id="code" name="code"><img id="yzm" src="yzm.png" alt="">
            </div>
            <div class=" agree ">
                <input type="checkbox" id="agree" name="agree"><label for="agree">我已经阅读并同意</label><a href="#">&lt;陆金所服务协议(个人会员版)&gt;</a>
            </div>
            <div class="input-group">
                <button class="regist">立即注册</button>
            </div>
        </form>
    </div>

</body>

</html>